package cn.wolfcode.ssm.domain;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Hero {
    private Long id;
    private String name;
    private String nickname;
    private Long hp;
    private Long mp;

    @Override
    public String toString() {
        return "Hero{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", hp=" + hp +
                ", mp=" + mp +
                '}';
    }
}
